SRC=simg2img.c \
	backed_block.c \
	output_file.c \
	sparse_crc32.c \
	sparse.c \
	sparse_err.c \
	sparse_read.c

C_FLAGS = -Iinclude -I../zlib_mingw/include/ -DUSE_MINGW
#LD_FLAGS = -L../zlib_mingw/lib/ -lz
simg2img:
	i686-w64-mingw32-gcc  $(SRC) $(C_FLAGS) $(LD_FLAGS) ../zlib_mingw/lib/libz.a -o simg2img.exe
